package miiteen.customsportal.pubconfig;

import miiteen.module.pubtable.beans.PubTable;
import miiteen.module.pubtable.service.PubTableService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class HgWebPubTable {

    @Autowired
    private PubTableService pubTableService;
    /**
     * 信息类型
     */
    public List<PubTable> noticeType() {
        return pubTableService.findListByMap("CustomsPortal_CT_NoticeType");
    }
}
